layui.use(['form','layer','laydate','table','laytpl','element'],function(){
    var element = layui.element;
    var laydate = layui.laydate;
    var form = layui.form,
        // layer = parent.layer === undefined ? layui.layer : top.layer,
        layer=layui.layer;
        $ = layui.jquery,
        laytpl = layui.laytpl,
        table = layui.table;
});